package org.xinqdian.session;

import java.util.concurrent.ConcurrentHashMap;

public class Table {

	private ConcurrentHashMap<String, Member> row = new ConcurrentHashMap<String, Member>();
	
	private String name;
	
	public Table(String name){
		this.name = name;
	}
	
	public void addRow(String sid, Member m){
		this.row.put(sid, m);
	}
	
	public Member getRow(String sid){
		return this.row.get(sid);
	}
	
	public String getName(){
		return this.name;
	}
	
}
